<?php

namespace App;

use Illuminate\Database\Eloquent\SoftDeletes;

class Order extends OrderBase
{
    use SoftDeletes;
    protected $guarded = [];

    public function orderGoods()
    {
        return $this->hasMany('App\OrderGoods');
    }

    public function actions()
    {
        return $this->hasMany('App\OrderAction');
    }

    public function user()
    {
        return $this->belongsTo('App\User');
    }

    public function teamFollow()
    {
        return $this->hasOne('App\TeamFollow');
    }
}
